package com.tangcco.lockwell.repository;

import com.tangcco.lockwell.domain.TopicNalysis;
import com.tangcco.lockwell.domain.dto.TopicNalysisDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TopicNalysisMapper extends BaseMapper<TopicNalysis>{
    /**
     * 长难句解析查询
     * @param questionId
     * @param paragraph
     * @return
     */
    List<TopicNalysis> selectForLongSentenceAnalysis(@Param("questionId") Integer questionId,@Param("paragraph") Integer paragraph);
    /**
     * 长难句解析查询
     * @param topicNalysis
     * @return
     */
    List<TopicNalysis> selectByCondition(TopicNalysisDto topicNalysis);

}
